#include <cstdlib>
#include <iostream>

#include "Space.h"
#include "Color.h"

/*
 * 
 */
int main(int argc, char** argv)
{
    //Color color(700);
    //std::cout << "red: " << color.getRed() << ", green: " << color.getGreen() << ", blue: " << color.getBlue();

//    Drop firstDrop(Dot(800, 800), 300);
//    firstDrop.selftest();
//    return 0;
    Space space;
    
    Drop drop(Dot(600, 300), 200);
    space.addDrop(drop);
    
    for (int i=400; i<=800; i+=10) {
        Wave wave(Dot(0, 0), 0.5, i);
        space.spreadWave(wave);
    }
    
    space.draw("results.svg");
    system("open -a \"Safari\" results.svg");
    
    return 0;
}
